package com.syq.aop;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * @ClassName: MyAfterAdvice
 * @Description: TODO
 * @Create by: syq
 * @Date: 8/7/2022 上午9:40
 */


public class MyAfterAdvice implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println("后置");
        System.out.println("日志处理");
    }
}
